package com.bwie.service.impl;

import com.bwie.common.domain.Login;
import com.bwie.mapper.LoginMapper;
import com.bwie.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author：Minxiao Hao
 * @Description:
 * @name：LoginServiceImpl
 * @Date：2024/11/4 10:00
 */
@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;

    /**
     * 通过手机号 获取查询 用户
     * @param loginPhone
     * @return
     */
    @Override
    public Login findLoginPhone(String loginPhone) {
        Login login = loginMapper.findLoginPhone(loginPhone);
        return login;
    }
}
